package com.lovo.controller;

import com.lovo.result.ResponseResult;
import com.lovo.util.WebUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@ResponseResult
public class IndexController {
    @GetMapping("/serverName")
    public Object showServerName(){
        return "ServerName:"+WebUtil.SERVER_NAME;
    }
}
